
package com.lnsystem.model.tk.quotedayhistorical;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "symbol",
    "startdate",
    "enddate",
    "series"
})
public class Timeseries {

    @JsonProperty("symbol")
    private String symbol;
    @JsonProperty("startdate")
    private String startdate;
    @JsonProperty("enddate")
    private String enddate;
    @JsonProperty("series")
    private Series series;
    @JsonIgnore
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();

    /**
     * 
     * @return
     *     The symbol
     */
    @JsonProperty("symbol")
    public String getSymbol() {
        return symbol;
    }

    /**
     * 
     * @param symbol
     *     The symbol
     */
    @JsonProperty("symbol")
    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public Timeseries withSymbol(String symbol) {
        this.symbol = symbol;
        return this;
    }

    /**
     * 
     * @return
     *     The startdate
     */
    @JsonProperty("startdate")
    public String getStartdate() {
        return startdate;
    }

    /**
     * 
     * @param startdate
     *     The startdate
     */
    @JsonProperty("startdate")
    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public Timeseries withStartdate(String startdate) {
        this.startdate = startdate;
        return this;
    }

    /**
     * 
     * @return
     *     The enddate
     */
    @JsonProperty("enddate")
    public String getEnddate() {
        return enddate;
    }

    /**
     * 
     * @param enddate
     *     The enddate
     */
    @JsonProperty("enddate")
    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public Timeseries withEnddate(String enddate) {
        this.enddate = enddate;
        return this;
    }

    /**
     * 
     * @return
     *     The series
     */
    @JsonProperty("series")
    public Series getSeries() {
        return series;
    }

    /**
     * 
     * @param series
     *     The series
     */
    @JsonProperty("series")
    public void setSeries(Series series) {
        this.series = series;
    }

    public Timeseries withSeries(Series series) {
        this.series = series;
        return this;
    }

    @JsonAnyGetter
    public Map<String, Object> getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

    public Timeseries withAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
        return this;
    }

}
